#example: from conf import featherGuard as conf
class featherGuard:
    
    #算法
    WINDOWLENGTH: int = 6
    
    #采样 传感器 数据含义看驱动源代码 
    PPG_SCL: int = 42
    PPG_SDA: int = 41
    PPG_LED_MODE: int = 0x03
    PPG_SAMPLE_RATE: int = 400
    PPG_PULSE_WIDTH: int = 411
    PPG_LED_POWER: int = 0xFF#注意肤色
    PPG_SAMPLE_AVE: int = 8
    PPG_I2C_FREQ: int = 100000
    
    ECG_ADC: int = 4
    ECG_SDN:int = 5
    
    #手指脱离以及电极脱落监测，蜂鸣器报警
    BUZZER: int = 6
    BUZZ_DURATION: int = 120
    LO_PLUS: int = 20
    LO_MINUS: int = 21
    
    LEFT_ARM_FALLOFF: int = 1
    RIGHT_ARM_FALLOFF: int = 2
    BOTH_ARM_FALLOFF: int = 3
    NORMAL: int = 0
    
    #数据有线上报
    '''
    UART_RX: int = 16
    UART_TX: int = 17
    '''
    UART_ID: int = 2
    UART_BAUD: int = 60000
    UART_TIMEOUT_LIMIT: int = 10